package com.pureut.system.domain;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * @Description 编码校验
 * @Param
 * @return 结果
 * @Date 22-11-21
 * @Author hl
 **/
public class SysVerification {

    /**
     *
     *id
     */
    private long verId;

    /**
     *
     *配置类型
     */
    private int verType;

    /**
     *
     *配置类型(数据字典)
     */
    private String  verTypeDict;

    /**
     *
     *规则编码
     */
    private String verTheRules;

    /**
     *
     *规则名称
     */
    private String verTheName;

    /**
     *
     *单据名称
     */
    private String verDocumentsCode;

    /**
     *
     *单据名称(数据字典)
     */
    private String verDocumentsCodeName;

    /**
     *
     *单据集合
     */
    private List<String> verDocumentsCodes;

    private String verDocumentsCodes1;

    public String getVerDocumentsCodes1() {
        return verDocumentsCodes1;
    }

    public void setVerDocumentsCodes1(String verDocumentsCodes1) {
        this.verDocumentsCodes1 = verDocumentsCodes1;
    }

    /**
     *
     *物料编码
     */
    private String verItemCode;

    /**
     *
     *物料名称
     */
    private String verItemName;

    /**
     * 客户编码
     */
    private String verCustomCode;

    /**
     * 客户名称
     */
    private String verCustomName;

    /**
     * 供应商编码
     */
    private String verSupplierCode;

    /**
     * 供应商名称
     */
    private String verSupplierName;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 修改时间
     */
    private Date updateTime;

//    /**
//     * 接收JSON数据
//     */
//    private JSONObject verConfigCode;
//
//    public JSONObject getVerConfigCode() {
//        return verConfigCode;
//    }
//
//    public void setVerConfigCode(JSONObject verConfigCode) {
//        this.verConfigCode = verConfigCode;
//    }

    private String endTime;

    private String startTime;

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private List<SysVerificationDetailed> sysVerificationDetailedList;

    public long getVerId() {
        return verId;
    }

    public void setVerId(long verId) {
        this.verId = verId;
    }

    public int getVerType() {
        return verType;
    }

    public void setVerType(int verType) {
        this.verType = verType;
    }

    public String getVerTypeDict() {
        return verTypeDict;
    }

    public void setVerTypeDict(String verTypeDict) {
        this.verTypeDict = verTypeDict;
    }

    @Size(min = 0, max = 64, message = "规则编码长度不能超过100个字符")
    public String getVerTheRules() {
        return verTheRules;
    }

    public void setVerTheRules(String verTheRules) {
        this.verTheRules = verTheRules;
    }
    @Size(min = 0, max = 64, message = "规则名称长度不能超过80个汉字或字符")
    public String getVerTheName() {
        return verTheName;
    }

    public void setVerTheName(String verTheName) {
        this.verTheName = verTheName;
    }

    public String getVerDocumentsCode() {
        return verDocumentsCode;
    }

    public void setVerDocumentsCode(String verDocumentsCode) {
        this.verDocumentsCode = verDocumentsCode;
    }

    public String getVerItemCode() {
        return verItemCode;
    }

    public void setVerItemCode(String verItemCode) {
        this.verItemCode = verItemCode;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getVerCustomCode() {
        return verCustomCode;
    }

    public void setVerCustomCode(String verCustomCode) {
        this.verCustomCode = verCustomCode;
    }

    public String getVerCustomName() {
        return verCustomName;
    }

    public void setVerCustomName(String verCustomName) {
        this.verCustomName = verCustomName;
    }

    public String getVerSupplierCode() {
        return verSupplierCode;
    }

    public void setVerSupplierCode(String verSupplierCode) {
        this.verSupplierCode = verSupplierCode;
    }

    public String getVerSupplierName() {
        return verSupplierName;
    }

    public void setVerSupplierName(String verSupplierName) {
        this.verSupplierName = verSupplierName;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<SysVerificationDetailed> getSysVerificationDetailedList() {
        return sysVerificationDetailedList;
    }

    public void setSysVerificationDetailedList(List<SysVerificationDetailed> sysVerificationDetailedList) {
        this.sysVerificationDetailedList = sysVerificationDetailedList;
    }

    public List<String> getVerDocumentsCodes() {
        return verDocumentsCodes;
    }

    public void setVerDocumentsCodes(List<String> verDocumentsCodes) {
        this.verDocumentsCodes = verDocumentsCodes;
    }

    public String getVerDocumentsCodeName() {
        return verDocumentsCodeName;
    }

    public void setVerDocumentsCodeName(String verDocumentsCodeName) {
        this.verDocumentsCodeName = verDocumentsCodeName;
    }

    public String getVerItemName() {
        return verItemName;
    }

    public void setVerItemName(String verItemName) {
        this.verItemName = verItemName;
    }

    @Override
    public String toString() {
        return "SysVerification{" +
                "verId=" + verId +
                ", verType=" + verType +
                ", verTheRules='" + verTheRules + '\'' +
                ", verTheName='" + verTheName + '\'' +
                ", verDocumentsCode='" + verDocumentsCode + '\'' +
                ", verItemCode='" + verItemCode + '\'' +
                ", createBy='" + createBy + '\'' +
                ", verCustomCode='" + verCustomCode + '\'' +
                ", verCustomName='" + verCustomName + '\'' +
                ", verSupplierCode='" + verSupplierCode + '\'' +
                ", verSupplierName='" + verSupplierName + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", endTime='" + endTime + '\'' +
                ", startTime='" + startTime + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
